package cn.edu.gdut.csq.entity.vo;

import java.util.List;

public class Setting {

	private List<String> citys;
	private List<String> keywords;

	public Setting() {
		super();
	}

	public Setting(List<String> citys, List<String> keywords) {
		super();
		this.citys = citys;
		this.keywords = keywords;
	}

	public List<String> getCitys() {
		return citys;
	}

	public void setCitys(List<String> citys) {
		this.citys = citys;
	}

	public List<String> getKeywords() {
		return keywords;
	}

	public void setKeywords(List<String> keywords) {
		this.keywords = keywords;
	}

	public String getStrKeywords() {

		String keys = "";
		for (String string : this.keywords) {
			keys += string + " ,";
		}
		return keys.substring(0, keys.length() - 1);
	}

	public int getkeyWordssSize() {
		return this.keywords.size();
	}

}
